import os.path


class Hap:
    package_path = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'hap', 'Browser.hap')
    bundle_name = 'ohos.samples.browser1'
    ability_name = 'MainAbility'
    window_name = 'browser10'
    name = '浏览器'

    BASE_DIR = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'snapshot', 'hap')
    main_page = os.path.join(BASE_DIR, 'main_page.jpeg')
    main_page_pinch_out = os.path.join(BASE_DIR, 'main_pinch_out.jpeg')

    back_btn = (89, 1164)
    next_btn = (268, 1164)
    home_btn = (446, 1164)
    refresh_btn = (626, 1164)
